package com.jaws.demo.schedule.xxljob;


import com.jaws.core.common.log.Log;
import com.jaws.core.common.xxljob.annotation.JawsJobHandler;
import com.xxl.job.core.biz.model.ReturnT;
import lombok.extern.slf4j.Slf4j;

@JawsJobHandler(jobCron = "5 0/10 * * * ? *",jobDesc = "jaws job  实例 DemoJobHandler2")
@Slf4j
public class DemoJobHandler2 {

	public ReturnT<String> execute(String param) throws Exception {
		log.info(Log.op("DemoJobHandler2.execute").msg("xxl job test").toString());
		return ReturnT.SUCCESS;
	}

}
